package com.baitu.websokettest.service.impl;

import com.baitu.websokettest.dao.MessageMapper;
import com.baitu.websokettest.entity.Message;
import com.baitu.websokettest.service.MessageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MessageServiceImpl extends ServiceImpl<MessageMapper, Message> implements MessageService {

    @Autowired
    private MessageMapper messageMapper;

    @Override
    public List<Message> selectLog(Message message) {
        return messageMapper.selectLog(message);
    }


}
